package com.monkeyk.sos.util;

import java.util.Collection;

/**
 * <p>网页的分页信息</p>
 * <br/>
 * 
 * created on 2014-11-26
 * 
 * @author yinHaiquan
 *
 */
public class Pager {

	private int page;
	private int pageSize;
	private String sort;
	private String order;
	private Collection<? extends Object> data;
	private int totalResults;
	private Object objectData;
	
	public Pager(int page, int pageSize) {
		super();
		this.page = page;
		this.pageSize = pageSize;
	}
	
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public Collection<?> getData() {
		return data;
	}
	public void setData(Collection<?> data) {
		this.data = data;
	}
	public int getTotalResults() {
		return totalResults;
	}
	public void setTotalResults(int totalResults) {
		this.totalResults = totalResults;
	}

	public Object getObjectData() {
		return objectData;
	}

	public void setObjectData(Object objectData) {
		this.objectData = objectData;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
}
